/**
 * 合同相关API
 *
 */
import { http } from "@/common/service.js";

/**
 * 合同管理-分页列表查询
 */
const getHeTongList = (header, params) => {
  return http.get("/xy/xyCmContract/list", {
    header,
    params,
  });
};

/**
 * 合同管理-通过id查询
 */
const getHeTongDetail = (header, params) => {
  return http.get("/xy/xyCmContract/queryById", {
    header,
    params,
  });
};

export default {
  getHeTongList,
  getHeTongDetail,
};
